﻿using System.Collections.Generic;

namespace FESSC_MESSAGE
{
    public class RspCode
    {
        public static Dictionary<string, string> rspcode = new Dictionary<string, string>
        {
            { "OK","请求操作成功" },
            { "USERLOGIN-INVALIED","账号或密码错误" },
            { "USERLOGOUT-INVALIED","非法的注销请求" },
            { "USERINFO-INVALIED","非法的用户信息请求" },
            { "CLIENT-TOKEN-INVALIED","客户端通信令牌非法" },
            { "UNKNOWN","未知错误" }
        };

        public static string get(string code)
        {
            return rspcode[code];
        }
    }
}
